package com.yuanchu.store.controller;

import com.yuanchu.store.service.YoshopPageService;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-01-27 14:24
 */
@RestController
public class ShopController {

    @Resource
    private YoshopPageService pageService;


    // @GetMapping("/page/detail")
    // public R getPageDetail(@RequestParam("pageId") Integer pageId) {
    //     PageData pageData = pageService.getPageDetail(pageId);
    //     Map<String, Object> map = new HashMap<>();
    //     map.put("pageData", pageData);
    //     return R.ok().put("data", map);
    // }

}
